<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
						fn(test);
			function fn(demo){
				demo();
			}
			function test(){
				console.log("我是被测试的函数");
			}
		</script>

	</body>
</html>
